package cn.mistorange.pojo;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Bill {
    private Long id;
    private Long userId;
    private Long categoryId;
    private String description;
    private BigDecimal amount;
    private String type; // 使用String类型表示ENUM('收入', '支出')
    private LocalDateTime createdAt;

//    类型
    private String categoryName;
}